﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.IRepository
{
    public interface ITAgvmesgRepository: IBaseRepository<TAgvmesg>
    {
        /// <summary>
        /// agv设备信息添加
        /// </summary>
        /// <param name="msg"></param>
        /// <returns></returns>
        bool AddAgvmesg(TAgvmesg msg);
        /// <summary>
        /// agv信息查询
        /// </summary>
        /// <param name="where"></param>
        /// <returns></returns>
        TAgvmesg GetAgvmesg(Expression<Func<TAgvmesg, bool>> where);
        /// <summary>
        /// agv修改信息
        /// </summary>
        /// <param name="msg"></param>
        /// <returns></returns>
        bool UpdateAgvmesg(TAgvmesg msg);
    }
}
